import http from '@/api/request.js';

// 轮播图列表
export function getCarouselList(params = {}) {
  return http({
    url: '/dz/dzCarousel/list',
    method: 'get',
    params: params
  });
}

// 成品列表
export function getProductList(params = {}) {
  return http({
    url: '/dz/dzCategory/miniList',
    method: 'get',
    params: params
  });
}

// 案例列表
export function getCaseList(params = {}) {
  return http({
    url: '/dz/dzInspirationCase/list',
    method: 'get',
    params: params
  });
}

// 案例详情
export function getCaseDetail(params = {}) {
  return http({
    url: '/dz/dzInspirationCase/queryById',
    method: 'get',
    params: params
  });
}

// 选材列表
export function getMaterialList(params = {}) {
  return http({
    url: '/dz/dzChooseItem/miniList',
    method: 'get',
    params: params
  });
}
